package com.bridgeintelligent.tag.bulkload.api;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author xiangjialiang
 * @date 2021/7/19 13:50 AM.
 * description: 新版es数据时间
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "es数据时间模型")
public class EsDateModel implements Cloneable,Serializable {

    @ApiModelProperty(value = "时间值")
    private String time;

    @ApiModelProperty(value = "是否是默认时间")
    private boolean realTime;

    @ApiModelProperty(value = "时间名称")
    private String timeName;

    @ApiModelProperty(value = "时间类型")
    private int timeType;

    @ApiModelProperty(value = "映射标识")
    private String symbol;

    @ApiModelProperty(value = "es后缀标识")
    private String esSymbol;

}
